# _*_ encoding:utf-8 _*_

from django.urls import path, re_path

from . import views

urlpatterns = [

    # 创建订单接口/获取订单列表
    path('api/v1.0/orders', views.OrderView.as_view()),

    # 接单、拒单
    path('api/v1.0/orders/<int:order_id>/status', views.AcceptOrReject.as_view()),

    # 评价订单
    path('api/v1.0/orders/<int:order_id>/comment', views.CommentOrder.as_view()),

]
